import Vue from 'vue'

import Home from '@/views/Home'
import Search from '@/views/Search'

import VueRouter from 'vue-router'

Vue.use(VueRouter)

const router = new VueRouter({
  routes:[
    {
      path:'/home',
      component:Home
    },
    {
      path:'/search',
      component:Search
    },
  ]
})

export default router